﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ProductLayout.master" AutoEventWireup="true" CodeFile="product-Mac.aspx.cs" Inherits="product_Mac" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:DataList ID="DataList1" runat="server" CellPadding="10" CellSpacing="10" 
        onitemcommand="DataList1_ItemCommand" RepeatColumns="3" 
        RepeatDirection="Horizontal">
        <ItemTemplate>
            <asp:ImageButton ID="ImageButton1" runat="server" Height="250px" 
                Width="300px"
                ImageUrl='<%# Eval("ProductsImage") %>' 
                    
                   CommandArgument='<%# Bind("ProductsID") %>'
                   CommandName="ProductMac" />
            <br />
            <asp:Label ID="Label1" runat="server" Text='<%# Eval("ProductsID") %>'></asp:Label>
            <br />
            <asp:Label ID="Label2" runat="server" Text='<%# Eval("ProductsPrice") %>'></asp:Label>
            &nbsp;$
        </ItemTemplate>
    </asp:DataList>
</asp:Content>

